func runtime.key32
18 uses
runtime (current package)
lock_futex.go#L43: func key32(p *uintptr) *uint32 {
lock_futex.go#L60: v := atomic.Xchg(key32(&l.key), mutex_locked)
lock_futex.go#L84: if atomic.Cas(key32(&l.key), mutex_unlocked, wait) {
lock_futex.go#L94: if atomic.Cas(key32(&l.key), mutex_unlocked, wait) {
lock_futex.go#L102: v = atomic.Xchg(key32(&l.key), mutex_sleeping)
lock_futex.go#L107: futexsleep(key32(&l.key), mutex_sleeping, -1)
lock_futex.go#L116: v := atomic.Xchg(key32(&l.key), mutex_unlocked)
lock_futex.go#L121: futexwakeup(key32(&l.key), 1)
lock_futex.go#L140: old := atomic.Xchg(key32(&n.key), 1)
lock_futex.go#L145: futexwakeup(key32(&n.key), 1)
lock_futex.go#L158: for atomic.Load(key32(&n.key)) == 0 {
lock_futex.go#L160: futexsleep(key32(&n.key), 0, ns)
lock_futex.go#L181: for atomic.Load(key32(&n.key)) == 0 {
lock_futex.go#L183: futexsleep(key32(&n.key), 0, ns)
lock_futex.go#L192: if atomic.Load(key32(&n.key)) != 0 {
lock_futex.go#L202: futexsleep(key32(&n.key), 0, ns)
lock_futex.go#L207: if atomic.Load(key32(&n.key)) != 0 {
lock_futex.go#L216: return atomic.Load(key32(&n.key)) != 0
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |